﻿using System;
using System.Runtime.InteropServices;

namespace Car.NavMesh
{
    public class CarNavMeshInterface
    {
        [DllImport(CarNavSetting.LIBRARY_NAME)]
        public static extern void SetLogCallback(Action<IntPtr> logFunction);

        [DllImport(CarNavSetting.LIBRARY_NAME)]
        public static extern void SetLogWarningCallback(Action<IntPtr> logFunction);

        [DllImport(CarNavSetting.LIBRARY_NAME)]
        public static extern void SetLogErrorCallback(Action<IntPtr> logFunction);

        [DllImport(CarNavSetting.LIBRARY_NAME)]
        public static extern void Test();
    }
}

